package com.jerry.passenger.driver.model;

import com.jerry.passenger.common.lbs.bean.LocationInfo;

public interface IDriverManager {

    /**
     *  获取附近司机
     * @param latitude
     * @param longitude
     */
    void fetchNearDrivers(double latitude, double longitude);

    /**
     * 上报位置
     * @param locationInfo
     */
    void updateLocationToServer(LocationInfo locationInfo);

    /**
     *  呼叫司机
     * @param cost
     * @param key
     * @param startLocation
     * @param endLocation
     */
    void callDriver(String key, float cost, LocationInfo startLocation, LocationInfo endLocation);

}
